package com.group.pojo;

import java.util.Date;

public class TbAttrName {
    private String id;

    private String attrName;

    private String attrDesc;

    private String categoryId;

    private String createUserId;

    private Date createTime;

    private String attrNameStatus;
    
    private TbCategory category;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getAttrName() {
        return attrName;
    }

    public void setAttrName(String attrName) {
        this.attrName = attrName == null ? null : attrName.trim();
    }

    public String getAttrDesc() {
        return attrDesc;
    }

    public void setAttrDesc(String attrDesc) {
        this.attrDesc = attrDesc == null ? null : attrDesc.trim();
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId == null ? null : categoryId.trim();
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId == null ? null : createUserId.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getAttrNameStatus() {
        return attrNameStatus;
    }

    public void setAttrNameStatus(String attrNameStatus) {
        this.attrNameStatus = attrNameStatus == null ? null : attrNameStatus.trim();
    }

	public TbCategory getCategory() {
		return category;
	}

	public void setCategory(TbCategory category) {
		this.category = category;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("TbAttrName [id=");
		builder.append(id);
		builder.append(", attrName=");
		builder.append(attrName);
		builder.append(", attrDesc=");
		builder.append(attrDesc);
		builder.append(", categoryId=");
		builder.append(categoryId);
		builder.append(", createUserId=");
		builder.append(createUserId);
		builder.append(", createTime=");
		builder.append(createTime);
		builder.append(", attrNameStatus=");
		builder.append(attrNameStatus);
		builder.append(", category=");
		builder.append(category);
		builder.append("]");
		return builder.toString();
	}
    
    
}